﻿@using Matthew.DBManager
@using MvcApplicationTest.Controllers
@{
    ViewBag.Title = "All of your order";
}

<h2>@ViewBag.Title.</h2>
<p>
    <li>All of Your Orders:</li>
    @foreach (var list in ViewBag.UserOrderInfos as List<UserOrderInfo>)
    {
        <li>@list.UserOrder   cost: @list.UserCost   at @list.UserOrderTime   @Utility.GetDateTime(list.FlagDay)</li>
    }
</p>

<aside>
    <h3>Return:</h3>
    <ul>
        <li>@Html.ActionLink("Order Now", "OrderPage", "Home")</li>
        <li>@Html.ActionLink("Today's Order", "OrderResult", "Home")</li>
        <li>@Html.ActionLink("Order History", "OrderHistory", "Home")</li>
        <li>@Html.ActionLink("Change Your Information", "Register", "Account", new { id = "CYI" }, null)</li>
    </ul>
</aside>
